<button id="{{$id}}" type="reset" class="btn btn-warning">
    {{$btn_title|default='重置表单'|raw}}
</button>
{{:builder_event_listen($js_hook, function () use($form_id,$id) {
return <<<HOOK
<script type='text/javascript'>
    $(document).on('click', '#{$id}', function () {
        $('#{$form_id}').bootstrapValidator('resetForm');
    });
</script>
HOOK;
})}}